import http from '@/common/http/http'

export function dormRoomDetailedListApi(data){
	return http({
		url:'/dormitory/dormRoom/detailedList',
		data,
		isToken : true,
		method: 'GET'
	})
}

export function dormRoomListApi(data){
	return http({
		url:'/dormitory/dormRoom/list',
		data,
		isToken : true,
		method: 'GET'
	})
}

export function dormScoreListApi(data){
	return http({
		url:'/dormitory/dormScore/list',
		data,
		isToken : true,
		method: 'GET'
	})
}

export function toScoreFormApi(data){
	return http({
		url:'/dormitory/dormScore/toScoreForm',
		data,
		isToken : true,
		method: 'GET'
	})
}

export function dormScoreAddApi(data){
	return http({
		url:'/dormitory/dormScore/add',
		data,
		isToken : true,
	})
}

export function dormScoreMinApplistApi(data){
	return http({
		url:'/dormitory/dormScore/minApplist',
		data,
		isToken : true,
		method:'GET'
	})
}

export function dormDeviceAccessRecordListApi(data){
	return http({
		url:'/dormitory/dormDeviceAccessRecord/list',
		data,
		isToken : true,
		method:'GET'
	})
}

export function dormAccessExceptionRecordListApi(data){
	return http({
		url:'/dormitory/dormAccessExceptionRecord/list',
		data,
		isToken : true,
		method:'GET'
	})
}

export function dormAccessExceptionRecordConfirmApi(data){
	return http({
		url:'/dormitory/dormAccessExceptionRecord/confirm',
		data,
		isToken : true,
	})
}

export function enterRoomRecordApi(data){
	return http({
		url:'/dormitory/dormDeviceAccessRecord/enterRoomRecord',
		data,
		isToken : true,
		method:'GET'
	})
}

export function personStatisticsApi(data){
	return http({
		url:'/dormitory/person/personStatistics',
		data,
		isToken : true,
		method:'GET'
	})
}

export function dormHealthItemListApi(data){
	return http({
		url:'/dormitory/dormHealthItem/list',
		data,
		isToken : true,
		method:'GET'
	})
}

export function ssPersonListApi(data){
	return http({
		url:'/baseinfo/ssPerson/list',
		data,
		isToken : true,
		method:'GET'
	})
}


export function roomDeptListApi(data){
	return http({
		url:'/dormitory/dormBedPerson/roomDeptList',
		data,
		isToken : true,
		method:'GET'
	})
}
